package com.zzh.myapplication.activity;

import android.content.Intent;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import net.icarplus.car.R;
import net.icarplus.car.manager.BaseActivity;

/**
 * Created by Administrator on 2016/3/29.
 */
public class PaySucceedActivity extends BaseActivity {
    public Button btn_pay_now;
    private TextView tv_order_car;

    @Override
    public void setContent() {
        setContentView(R.layout.activity_order_pay_successr);
    }

    @Override
    public void initComponent() {
        btn_pay_now = (Button) findViewById(R.id.btn_pay_now);
        tv_order_car = (TextView) findViewById(R.id.tv_order_car);
        tv_order_car.setText(getIntent().getStringExtra("ordernum"));


    }

    @Override
    public void setListener() {
        btn_pay_now.setOnClickListener(this);
    }

    @Override
    public void onAfterInit() {

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.btn_pay_now:
                start_Activity(new Intent(PaySucceedActivity.this, VehicleControlActivity.class));
                break;

        }
    }
}
